// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'ID',
        footer: "Foots",
        cnName: '班次分组',
        name: 'ClassGroup',
        url: "/ClassGroup/",
        sortName: "ID"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"ClassName":"","StartTime":"","EndTime":""};
    const editFormOptions = [[{"title":"班次","required":true,"field":"ClassName","type":"text"}],
                              [{"title":"上班时间","required":true,"field":"StartTime","type":"datetime"},
                               {"title":"下班时间","required":true,"field":"EndTime","type":"datetime"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'ID',title:'ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'ClassName',title:'班次',type:'string',width:110,require:true,align:'left'},
                       {field:'StartTime',title:'上班时间',type:'datetime',width:150,require:true,align:'left'},
                       {field:'EndTime',title:'下班时间',type:'datetime',width:150,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}